package com.nuc.zyt.Pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName Student
 * @Description TODO
 * @Author 耀酱
 * @Date 2023/6/7 10:01
 * @Version 1.0
 */
@Data
@Component("student")
public class Student {
    //@Value("1")
    private Integer id;
    private String name = "赵元通";
    private int age = 10;
    //@Value("男")
    private String sex;
    //@Autowired
    //private Teacher teacher;

}
